from django.urls import path
from rest_framework.routers import DefaultRouter
from . import views
router = DefaultRouter()  # 有根路由
router.register(r'apppath', views.ApppathView)
# router.register(r'stage', views.StageView)


urlpatterns = [
    path('path_stage/',views.PathStageView.as_view()),
    path('user_path/',views.User_Path_View.as_view()),  #查看是否关注
    path('follow/',views.FollowView.as_view()), #关注

]

urlpatterns += router.urls  # 模块地址
# print(router.urls)